﻿<html dir="LTR"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><title>FTPConnection.CancelTransfer Method</title><xml></xml><link rel="stylesheet" type="text/css" href="MSDN.css"></head><body id="bodyID" class="dtBODY"><div id="nsbanner"><div id="bannerrow1"><table class="bannerparthead" cellspacing="0"><tr id="hdr"><td class="runninghead">An NDoc Documented Class Library</td><td class="product"></td></tr></table></div><div id="TitleRow"><h1 class="dtH1">FTPConnection.CancelTransfer Method </h1></div></div><div id="nstext"><p>Cancels the current transfer.</p><div class="syntax">public virtual <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a> CancelTransfer();</div><h4 class="dtH4">Remarks</h4><p>This method is generally called from a separate
            thread. Note that this may leave partially written files on the
            server or on local disk, and should not be used unless absolutely
            necessary. The server is not notified.</p><h4 class="dtH4">See Also</h4><p><a href="EnterpriseDT.Net.Ftp.FTPConnection.html">FTPConnection Class</a> | <a href="EnterpriseDT.Net.Ftp.html">EnterpriseDT.Net.Ftp Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="CancelTransfer method"><param name="Keyword" value="CancelTransfer method, FTPConnection class"><param name="Keyword" value="FTPConnection.CancelTransfer method"></object></div></body></html>